package com.ruoyi.gd.cgbjd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 常规报价单业务对象 z_cgbjd
 *
 * @author ruoyi
 * @date 2024-06-29
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ZCgbjdBo extends BaseEntity {

    /**
     * id
     */
    @NotBlank(message = "id不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 序号
     */
    @NotBlank(message = "序号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String xh;

    /**
     * 设备名称
     */
    @NotBlank(message = "设备名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 单位
     */
    @NotBlank(message = "单位不能为空", groups = { AddGroup.class, EditGroup.class })
    private String dw;

    /**
     * 单价
     */
    @NotNull(message = "单价不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double dj;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bz;
    /**
     * 删除标志（1代表存在 2代表删除）
     */
    private String delFlag;


}
